import request from '@/utils/request'

/**
 * 获取轮播图列表
 */
export function getReportList(params) {
  return request({
    url: '/report/list',
    method: 'get',
    params
  })
}

/**
 * 删除轮播图
 */
export function deleteReport(id) {
  return request({
    url: `/report/approve/${id}`,
    method: 'get'
  })
}